// vite.config.js
import { defineConfig } from "file:///E:/%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/%E9%A1%B9%E7%9B%AE/%E5%89%8D%E7%AB%AF/Creative/node_modules/vite/dist/node/index.js";
import { fileURLToPath } from "url";
import vue from "file:///E:/%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/%E9%A1%B9%E7%9B%AE/%E5%89%8D%E7%AB%AF/Creative/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import { createSvgIconsPlugin } from "file:///E:/%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/%E9%A1%B9%E7%9B%AE/%E5%89%8D%E7%AB%AF/Creative/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///E:/%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/%E9%A1%B9%E7%9B%AE/%E5%89%8D%E7%AB%AF/Creative/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    createSvgIconsPlugin({
      iconDirs: [path.resolve(process.cwd(), "src/assets/icons/svg")],
      // 指定symbolId格式
      symbolId: "[name]",
      customDomId: "turing-planet-svgs"
      // 避免多项目互相影响
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    hmr: true,
    // 热部署
    port: 5174,
    // 端口号
    // 代理
    proxy: {
      "/api": {
        target: "http://localhost:8081",
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/api/, "/api")
        // pathRewrite: { "^api": "" },
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxcdTZCRDVcdTRFMUFcd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